<admintpl file="header" />
</head>

<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('NewsType/index')}">新闻类型</a></li>
			<li><a href="{:U('NewsType/add')}">新增类型</a></li>
		</ul>
		<form method="post" class="js-ajax-form">
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th width="50">ID</th>
						<th>新闻类型</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="newsType" item="vo">
						<tr>
							<td>{$vo.id}</td>
							<td>{$vo.news_type}</td>
							<td>
								<a href="{:U('NewsType/edit',array('id'=>$vo['id']))}">编辑</a> |
								<a href="{:U('NewsType/delete',array('id'=>$vo['id']))}">删除</a>
							</td>
						</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$Page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>